<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: WndBase.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('_wnd_base_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">WndBase.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &quot;App.h&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;Cursor.h&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &quot;Dip.h&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &quot;Font.h&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &quot;HitTestResult.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#include &quot;Keys.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#include &quot;Point.h&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &quot;ProcMsg.h&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &quot;Property.h&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &quot;Rect.h&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#include &quot;Size.h&quot;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#include &quot;WndMsg.h&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#include &lt;Windows.h&gt;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor">#include &lt;type_traits&gt;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#include &lt;windowsx.h&gt;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="keyword">namespace </span>sw</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>{</div>
<div class="foldopen" id="foldopen00025" data-start="{" data-end="};">
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html">   25</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">LRESULT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">CALLBACK</a> _WndProc(<a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> hwnd, <a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> uMsg, <a class="code hl_class" href="classsw_1_1_dictionary.html">WPARAM</a> wParam, <a class="code hl_class" href="classsw_1_1_dictionary.html">LPARAM</a> lParam);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">uint32_t</a> _check;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> _hwnd = <a class="code hl_class" href="classsw_1_1_dictionary.html">NULL</a>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">HFONT</a> _hfont = <a class="code hl_class" href="classsw_1_1_dictionary.html">NULL</a>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>        <a class="code hl_class" href="classsw_1_1_font.html">sw::Font</a> _font;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>        <a class="code hl_struct" href="structsw_1_1_rect.html">sw::Rect</a> _rect{};</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>        std::wstring _text{};</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>        <span class="keywordtype">bool</span> _focused = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>        <span class="keywordtype">bool</span> _isDestroyed = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">WNDPROC</a> _controlOldWndProc = <a class="code hl_class" href="classsw_1_1_dictionary.html">NULL</a>;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#abc0b653ccc071c2cfcba42fa8eef738f">   83</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">ReadOnlyProperty&lt;HWND&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#abc0b653ccc071c2cfcba42fa8eef738f">Handle</a>;</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a529436cd730fc39ad2875728cdfe4a51">   88</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;sw::Font&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a529436cd730fc39ad2875728cdfe4a51">Font</a>;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a72a604f374bba1e6c34b5d5e56cd26f0">   93</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;std::wstring&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a72a604f374bba1e6c34b5d5e56cd26f0">FontName</a>;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ac49c6452ceb4950dd581189615753b0c">   98</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#ac49c6452ceb4950dd581189615753b0c">FontSize</a>;</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a50e006e69f07abb4e6ba381121abcd22">  103</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;sw::FontWeight&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a50e006e69f07abb4e6ba381121abcd22">FontWeight</a>;</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a7598603457217f09aae0deaad59ef063">  108</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;sw::Rect&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a7598603457217f09aae0deaad59ef063">Rect</a>;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span> </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4f0b57de9babc053c655872ed91468dd">  113</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a4f0b57de9babc053c655872ed91468dd">Left</a>;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a6dbe3776aeb038659f0a290fbe1dc6d7">  118</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a6dbe3776aeb038659f0a290fbe1dc6d7">Top</a>;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a445edbe5db50a5a4486ddff98e8ffbae">  123</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a445edbe5db50a5a4486ddff98e8ffbae">Width</a>;</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a51fdc4b943e62bd67ffbff4a6e65de2a">  128</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a51fdc4b943e62bd67ffbff4a6e65de2a">Height</a>;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a0126115c0626d137ba3e7b0a5c8d793b">  133</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">ReadOnlyProperty&lt;sw::Rect&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a0126115c0626d137ba3e7b0a5c8d793b">ClientRect</a>;</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a97898f967c916e67c152c69f4c7c6cd6">  138</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">ReadOnlyProperty&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a97898f967c916e67c152c69f4c7c6cd6">ClientWidth</a>;</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4030b80afd9e81e3046ccd5ec94ec83f">  143</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">ReadOnlyProperty&lt;double&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a4030b80afd9e81e3046ccd5ec94ec83f">ClientHeight</a>;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span> </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ad5e7d8d1a548315b3e709151f71766b3">  148</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#ad5e7d8d1a548315b3e709151f71766b3">Enabled</a>;</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span> </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a808f5d6fd407e3b65cff88f1873bd754">  153</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a808f5d6fd407e3b65cff88f1873bd754">Visible</a>;</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a9afff86d32e9b54cccc204ef29a85891">  158</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;std::wstring&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a9afff86d32e9b54cccc204ef29a85891">Text</a>;</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a71498b3ad8ae548fd7f4a531a6b70982">  163</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a71498b3ad8ae548fd7f4a531a6b70982">Focused</a>;</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a7bda583e7535a89b8b5bd327c1f32ccd">  168</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">ReadOnlyProperty&lt;WndBase *&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a7bda583e7535a89b8b5bd327c1f32ccd">Parent</a>;</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a54aa973b24b4bc4b681ac2c21a50d204">  173</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">ReadOnlyProperty&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a54aa973b24b4bc4b681ac2c21a50d204">IsDestroyed</a>;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span> </div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a43b324f78290554d0c08bf6f33cdb5fd">  178</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">Property&lt;bool&gt;</a> <a class="code hl_variable" href="classsw_1_1_wnd_base.html#a43b324f78290554d0c08bf6f33cdb5fd">AcceptFiles</a>;</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span> </div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>    <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aab509b68c9c0b612862cf41d8ef685a3">  184</a></span>        <a class="code hl_function" href="classsw_1_1_wnd_base.html#aab509b68c9c0b612862cf41d8ef685a3">WndBase</a>();</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span> </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span>        <a class="code hl_function" href="classsw_1_1_wnd_base.html#aab509b68c9c0b612862cf41d8ef685a3">WndBase</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;)            = <span class="keyword">delete</span>; <span class="comment">// 删除拷贝构造函数</span></div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>        <a class="code hl_function" href="classsw_1_1_wnd_base.html#aab509b68c9c0b612862cf41d8ef685a3">WndBase</a>(<a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&amp;)                 = <span class="keyword">delete</span>; <span class="comment">// 删除移动构造函数</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>        <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;operator=(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;) = <span class="keyword">delete</span>; <span class="comment">// 删除拷贝赋值运算符</span></div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>        <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;operator=(<a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&amp;)      = <span class="keyword">delete</span>; <span class="comment">// 删除移动赋值运算符</span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a6c99714fa3f313e7535936585f63b9cb">  195</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a6c99714fa3f313e7535936585f63b9cb">~WndBase</a>() = 0;</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span>    <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4889c45dfad820c103dd7f74f2cd0661">  201</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a4889c45dfad820c103dd7f74f2cd0661">InitWindow</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">lpWindowName</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">dwStyle</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">dwExStyle</a>);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a60707bc74fd7d0599da1ea014cc37b5d">  206</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a60707bc74fd7d0599da1ea014cc37b5d">InitControl</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">lpClassName</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">lpWindowName</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">dwStyle</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">dwExStyle</a>);</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span> </div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a585967d861673ea0477f25c1a5c0fb30">  211</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">LRESULT</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a585967d861673ea0477f25c1a5c0fb30">DefaultWndProc</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structsw_1_1_proc_msg.html">ProcMsg</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">refMsg</a>);</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a863b26226e16cf37f7169c6edc96a3b4">  216</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">LRESULT</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a863b26226e16cf37f7169c6edc96a3b4">WndProc</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structsw_1_1_proc_msg.html">ProcMsg</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">refMsg</a>);</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span> </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a292bd97b5820a1b4e7a38d65e2b609e8">  221</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a292bd97b5820a1b4e7a38d65e2b609e8">UpdateText</a>();</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span> </div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a888df1f6b89e8da1ba8c7cc8f4671370">  227</a></span>        <span class="keyword">virtual</span> std::wstring &amp;<a class="code hl_function" href="classsw_1_1_wnd_base.html#a888df1f6b89e8da1ba8c7cc8f4671370">GetText</a>();</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aba0ab3734c3d4c07f3b9bbb029b98edb">  233</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#aba0ab3734c3d4c07f3b9bbb029b98edb">SetText</a>(<span class="keyword">const</span> std::wstring &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">value</a>);</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a7dd30ab5e8700832140c329739b4b671">  239</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a7dd30ab5e8700832140c329739b4b671">OnCreate</a>();</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span> </div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a0e30c4d0b87c473115e7521c5c95703a">  245</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a0e30c4d0b87c473115e7521c5c95703a">OnClose</a>();</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span> </div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a98d960679d1889998ba548af6a3c8fc4">  251</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a98d960679d1889998ba548af6a3c8fc4">OnDestroy</a>();</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span> </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a029ba4be0e492f8383f2b5fe22125acb">  257</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a029ba4be0e492f8383f2b5fe22125acb">OnPaint</a>();</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span> </div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ad90b0eebbaa959949cae5b736e2104aa">  262</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ad90b0eebbaa959949cae5b736e2104aa">OnEndPaint</a>();</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span> </div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a17769747f602f2f7c18a0a49ce97a125">  269</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a17769747f602f2f7c18a0a49ce97a125">OnMove</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> newClientPosition);</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span> </div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aaba3c3ea0a8d12be237ef28e44018677">  276</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#aaba3c3ea0a8d12be237ef28e44018677">OnSize</a>(<a class="code hl_struct" href="structsw_1_1_size.html">Size</a> newClientSize);</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span> </div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#adb808283f6ccd5a32834ad25fa2f407b">  281</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#adb808283f6ccd5a32834ad25fa2f407b">OnTextChanged</a>();</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span> </div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4b15e8f2bcac32da4d5e540445ae201a">  288</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a4b15e8f2bcac32da4d5e540445ae201a">OnSetFocus</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hPrevFocus</a>);</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span> </div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a6de15bd6a264721f6bfadd40d9fce3b0">  295</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a6de15bd6a264721f6bfadd40d9fce3b0">OnKillFocus</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hNextFocus</a>);</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span> </div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ad188b201bbbc650c4ad9c388dbac18b4">  303</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ad188b201bbbc650c4ad9c388dbac18b4">OnMouseMove</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span> </div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aaf334072263bea6dddf93a7601979023">  309</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#aaf334072263bea6dddf93a7601979023">OnMouseLeave</a>();</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span> </div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#adcf94f9017f5589b3027955e48c34b62">  318</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#adcf94f9017f5589b3027955e48c34b62">OnMouseWheel</a>(<span class="keywordtype">int</span> wheelDelta, <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span> </div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a118948e07b472d90fce7e9811ea174aa">  326</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a118948e07b472d90fce7e9811ea174aa">OnMouseLeftButtonDown</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span> </div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ad82a0ab5f0622abaf30456e7e309409e">  334</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ad82a0ab5f0622abaf30456e7e309409e">OnMouseLeftButtonUp</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno">  335</span> </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a5a8952400bee12db2117fbf76312d373">  342</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a5a8952400bee12db2117fbf76312d373">OnMouseLeftButtonDoubleClick</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span> </div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4c802a79d332af6e6a6ddcf13005a587">  350</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a4c802a79d332af6e6a6ddcf13005a587">OnMouseRightButtonDown</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span> </div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aeb7286fd72b6d49b6d0b22d8cde07941">  358</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#aeb7286fd72b6d49b6d0b22d8cde07941">OnMouseRightButtonUp</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span> </div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a5b90855aaaa4556e5ef5fe68e8149669">  366</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a5b90855aaaa4556e5ef5fe68e8149669">OnMouseRightButtonDoubleClick</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span> </div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a348d10334d2f74a44f741bf85eddaa2c">  374</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a348d10334d2f74a44f741bf85eddaa2c">OnMouseMiddleButtonDown</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span> </div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a143aff6cca9e55608630d1fc320d4666">  382</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a143aff6cca9e55608630d1fc320d4666">OnMouseMiddleButtonUp</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno">  383</span> </div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4aa14c2130ef0fbb656d28c287e401f5">  390</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a4aa14c2130ef0fbb656d28c287e401f5">OnMouseMiddleButtonDoubleClick</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState);</div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span> </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ad0f719a2feffe354737cef9b13b63db0">  398</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ad0f719a2feffe354737cef9b13b63db0">OnChar</a>(<span class="keywordtype">wchar_t</span> ch, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags);</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span> </div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4c72db003eeb8a29565576ad26cc89b8">  406</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a4c72db003eeb8a29565576ad26cc89b8">OnDeadChar</a>(<span class="keywordtype">wchar_t</span> ch, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags);</div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno">  407</span> </div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aea1d61cd6e108834e498009926ff3ebd">  414</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#aea1d61cd6e108834e498009926ff3ebd">OnKeyDown</a>(VirtualKey key, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags);</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span> </div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#af4e6b89a39f12d2fbdf987d79c05b190">  422</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#af4e6b89a39f12d2fbdf987d79c05b190">OnKeyUp</a>(VirtualKey key, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags);</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span> </div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a515de5eb7bc6dbc8314c447a99154c6c">  430</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a515de5eb7bc6dbc8314c447a99154c6c">OnSysChar</a>(<span class="keywordtype">wchar_t</span> ch, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags);</div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span> </div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#acf4e6c0bbc8fddc9e790864e403c5c91">  438</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#acf4e6c0bbc8fddc9e790864e403c5c91">OnSysDeadChar</a>(<span class="keywordtype">wchar_t</span> ch, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags);</div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno">  439</span> </div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ad63e584926b894913ee1ef4c039a2f98">  446</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ad63e584926b894913ee1ef4c039a2f98">OnSysKeyDown</a>(VirtualKey key, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags);</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno">  447</span> </div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a46dafa7371fbef198ee7a38c4aabc632">  454</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a46dafa7371fbef198ee7a38c4aabc632">OnSysKeyUp</a>(VirtualKey key, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags);</div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span> </div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aef02bbac8ef450e5f3f478b41031a3ab">  459</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#aef02bbac8ef450e5f3f478b41031a3ab">VisibleChanged</a>(<span class="keywordtype">bool</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">newVisible</a>);</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno">  460</span> </div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a5fd142cef45421381b2e8b89cac67d86">  465</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a5fd142cef45421381b2e8b89cac67d86">SetParent</a>(<a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">parent</a>);</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno">  466</span> </div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4d09cfbc382789150798ff6ad3d9f988">  471</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a4d09cfbc382789150798ff6ad3d9f988">ParentChanged</a>(<a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">newParent</a>);</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span> </div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a60e633e3cfea36b186c4a210925e865a">  477</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a60e633e3cfea36b186c4a210925e865a">OnCommand</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">code</a>);</div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno">  478</span> </div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a69256166096bb51cde45f101c4e9ae95">  485</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a69256166096bb51cde45f101c4e9ae95">OnControlCommand</a>(<a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">pControl</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">code</a>, <span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span> </div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#afffc1d57f289f965bc50d8150c4586e1">  491</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#afffc1d57f289f965bc50d8150c4586e1">OnMenuCommand</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno">  492</span> </div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a935f2bb51b99929ac5166ad52396971a">  497</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a935f2bb51b99929ac5166ad52396971a">OnAcceleratorCommand</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno">  498</span> </div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4b368860fef40406c091880fc72f9cbb">  503</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a4b368860fef40406c091880fc72f9cbb">HandleInitialized</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> hwnd);</div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno">  504</span> </div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ac34494921eed0f67a053a9393d78bcf9">  509</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ac34494921eed0f67a053a9393d78bcf9">FontChanged</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HFONT</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hfont</a>);</div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno">  510</span> </div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ab37c3f3ea7654eb6a0b15405196c4549">  519</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ab37c3f3ea7654eb6a0b15405196c4549">OnSetCursor</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> hwnd, HitTestResult <a class="code hl_class" href="classsw_1_1_dictionary.html">hitTest</a>, <span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">message</a>, <span class="keywordtype">bool</span> &amp;result);</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno">  520</span> </div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a2c436f7819721b3f1a700c39ea538003">  527</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a2c436f7819721b3f1a700c39ea538003">OnContextMenu</a>(<span class="keywordtype">bool</span> isKeyboardMsg, <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition);</div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno">  528</span> </div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a191f7c32914b029dca7c93e03b4841e0">  534</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a191f7c32914b029dca7c93e03b4841e0">OnNotify</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">NMHDR</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">pNMHDR</a>);</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno">  535</span> </div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a4aad533e3d37a7de43645d703dda1a84">  539</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a4aad533e3d37a7de43645d703dda1a84">OnNotified</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">NMHDR</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">pNMHDR</a>);</div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno">  540</span> </div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a72a4024b2096ecef4248b1c254b674e2">  547</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a72a4024b2096ecef4248b1c254b674e2">OnVerticalScroll</a>(<span class="keywordtype">int</span> event, <span class="keywordtype">int</span> pos);</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno">  548</span> </div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#af6773148b0a9a1fdd3c8a0d8cd54a2fd">  555</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#af6773148b0a9a1fdd3c8a0d8cd54a2fd">OnHorizontalScroll</a>(<span class="keywordtype">int</span> event, <span class="keywordtype">int</span> pos);</div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno">  556</span> </div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a755bd826227232fd30ba5fda47bfb060">  562</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a755bd826227232fd30ba5fda47bfb060">OnEnabledChanged</a>(<span class="keywordtype">bool</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">newValue</a>);</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno">  563</span> </div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aa04cd83e79c42d21127799e573d9f299">  571</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#aa04cd83e79c42d21127799e573d9f299">OnCtlColor</a>(<a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">pControl</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HDC</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hdc</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HBRUSH</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">hRetBrush</a>);</div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno">  572</span> </div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#aa605b4a21b4cd8c43c226349665a5f28">  579</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#aa605b4a21b4cd8c43c226349665a5f28">OnColor</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HDC</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">hdc</a>, <a class="code hl_class" href="classsw_1_1_dictionary.html">HBRUSH</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">hRetBrush</a>);</div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno">  580</span> </div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a1445af2018a8e840a25a7487da22c51b">  586</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a1445af2018a8e840a25a7487da22c51b">OnNcHitTest</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">testPoint</a>, HitTestResult &amp;result);</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno">  587</span> </div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a748fda35e75d416077598f243afe9da1">  593</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a748fda35e75d416077598f243afe9da1">OnEraseBackground</a>(<span class="keywordtype">int</span> &amp;result);</div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno">  594</span> </div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a6e9cac4e02b3a420c42968cbf061fd02">  601</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a6e9cac4e02b3a420c42968cbf061fd02">OnDrawItem</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>, <a class="code hl_class" href="classsw_1_1_dictionary.html">DRAWITEMSTRUCT</a> *<a class="code hl_class" href="classsw_1_1_dictionary.html">pDrawItem</a>);</div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno">  602</span> </div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a9e95c73d7ac95cf80a1f49a970703b0b">  608</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a9e95c73d7ac95cf80a1f49a970703b0b">OnDropFiles</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HDROP</a> hDrop);</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno">  609</span> </div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno">  610</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ae2f1b78dd8165c8bca0313180a9f4b81">  614</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ae2f1b78dd8165c8bca0313180a9f4b81">Show</a>(<span class="keywordtype">int</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">nCmdShow</a>);</div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno">  615</span> </div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a436818f8ad91446f86b42081dd1a7358">  619</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a436818f8ad91446f86b42081dd1a7358">Close</a>();</div>
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno">  620</span> </div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ab7ac81f0ed48a5093fd3170c7c756963">  624</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ab7ac81f0ed48a5093fd3170c7c756963">Update</a>();</div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno">  625</span> </div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#af8df0384e2be0569e0da1f51985204c8">  629</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#af8df0384e2be0569e0da1f51985204c8">UpdateFont</a>();</div>
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno">  630</span> </div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a2eec178adddff9e44d83238f19d57b1b">  634</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">HFONT</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a2eec178adddff9e44d83238f19d57b1b">GetFontHandle</a>();</div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno">  635</span> </div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a1c0d183115a35f097b0598af43c9ca9a">  640</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a1c0d183115a35f097b0598af43c9ca9a">Redraw</a>(<span class="keywordtype">bool</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">erase</a> = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno">  641</span> </div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ace8f6b05caa5d335f7d574c38035bfa7">  645</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ace8f6b05caa5d335f7d574c38035bfa7">IsControl</a>();</div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno">  646</span> </div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a6ee668e7a5261f96df0bd69a1fb868d3">  650</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a6ee668e7a5261f96df0bd69a1fb868d3">IsVisible</a>();</div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno">  651</span> </div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a975bcf1d7c27e7d482aa18f7faaf23d0">  655</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a975bcf1d7c27e7d482aa18f7faaf23d0">GetStyle</a>();</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno">  656</span> </div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#afc6dbe392704320ef2e6896eff55dd4f">  660</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#afc6dbe392704320ef2e6896eff55dd4f">SetStyle</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">style</a>);</div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno">  661</span> </div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ae545de230ba94e3263f3197e98308079">  666</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ae545de230ba94e3263f3197e98308079">GetStyle</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">mask</a>);</div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno">  667</span> </div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a34a1c2216b75bd9cd45d4a2e042b55c5">  673</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a34a1c2216b75bd9cd45d4a2e042b55c5">SetStyle</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">mask</a>, <span class="keywordtype">bool</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">value</a>);</div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno">  674</span> </div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#af536e23ad45de7e0d0a48c156671e331">  678</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#af536e23ad45de7e0d0a48c156671e331">GetExtendedStyle</a>();</div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno">  679</span> </div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a074171e62cdb3e20f53b9262164852ca">  683</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a074171e62cdb3e20f53b9262164852ca">SetExtendedStyle</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">style</a>);</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno">  684</span> </div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a2d3e7d32b7cdcfd3489c0d890a2910ab">  689</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a2d3e7d32b7cdcfd3489c0d890a2910ab">GetExtendedStyle</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">mask</a>);</div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno">  690</span> </div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a05caaf7da3138fe9063f7a3e1088f9ac">  696</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a05caaf7da3138fe9063f7a3e1088f9ac">SetExtendedStyle</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">DWORD</a> <a class="code hl_class" href="classsw_1_1_dictionary.html">mask</a>, <span class="keywordtype">bool</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">value</a>);</div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno">  697</span> </div>
<div class="line"><a id="l00703" name="l00703"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a292d93c230f5534cdf68ac5d685dd487">  703</a></span>        <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a292d93c230f5534cdf68ac5d685dd487">PointToScreen</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">point</a>);</div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno">  704</span> </div>
<div class="line"><a id="l00710" name="l00710"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a6f1b33e5930fc14467f65ad89c2c35c3">  710</a></span>        <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a6f1b33e5930fc14467f65ad89c2c35c3">PointFromScreen</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">screenPoint</a>);</div>
<div class="line"><a id="l00711" name="l00711"></a><span class="lineno">  711</span> </div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a33d23326907c603a24385f81e179e174">  715</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">LRESULT</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#a33d23326907c603a24385f81e179e174">SendMessageA</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> uMsg, <a class="code hl_class" href="classsw_1_1_dictionary.html">WPARAM</a> wParam, <a class="code hl_class" href="classsw_1_1_dictionary.html">LPARAM</a> lParam);</div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno">  716</span> </div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#ad50166a8ade9a7eaf0088f13fd708e2f">  720</a></span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">LRESULT</a> <a class="code hl_function" href="classsw_1_1_wnd_base.html#ad50166a8ade9a7eaf0088f13fd708e2f">SendMessageW</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">UINT</a> uMsg, <a class="code hl_class" href="classsw_1_1_dictionary.html">WPARAM</a> wParam, <a class="code hl_class" href="classsw_1_1_dictionary.html">LPARAM</a> lParam);</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno">  721</span> </div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a87c9d860ba24487f2b61b72987a4bd63">  726</a></span>        HitTestResult <a class="code hl_function" href="classsw_1_1_wnd_base.html#a87c9d860ba24487f2b61b72987a4bd63">NcHitTest</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> &amp;<a class="code hl_class" href="classsw_1_1_dictionary.html">testPoint</a>);</div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno">  727</span> </div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno">  728</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a9a3b21d4e5d8c49130deb57695294add">  734</a></span>        <span class="keyword">static</span> <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="code hl_function" href="classsw_1_1_wnd_base.html#a9a3b21d4e5d8c49130deb57695294add">GetWndBase</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HWND</a> hwnd);</div>
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno">  735</span> </div>
<div class="foldopen" id="foldopen00739" data-start="{" data-end="};">
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a91165e81b129c626cabcc7b3d8a5dc43">  739</a></span>        <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code hl_friend" href="classsw_1_1_wnd_base.html#a91165e81b129c626cabcc7b3d8a5dc43">operator==</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;left, <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;right)</div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno">  740</span>        {</div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno">  741</span>            <span class="keywordflow">return</span> &amp;left == &amp;right;</div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno">  742</span>        }</div>
</div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno">  743</span> </div>
<div class="foldopen" id="foldopen00747" data-start="{" data-end="};">
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno"><a class="line" href="classsw_1_1_wnd_base.html#a3e4f8edb05ac0381561f4a105db73a34">  747</a></span>        <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code hl_friend" href="classsw_1_1_wnd_base.html#a3e4f8edb05ac0381561f4a105db73a34">operator!=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;left, <span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;right)</div>
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno">  748</span>        {</div>
<div class="line"><a id="l00749" name="l00749"></a><span class="lineno">  749</span>            <span class="keywordflow">return</span> &amp;left != &amp;right;</div>
<div class="line"><a id="l00750" name="l00750"></a><span class="lineno">  750</span>        }</div>
</div>
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno">  751</span>    };</div>
</div>
<div class="line"><a id="l00752" name="l00752"></a><span class="lineno">  752</span>}</div>
<div class="ttc" id="aclasssw_1_1_dictionary_html"><div class="ttname"><a href="classsw_1_1_dictionary.html">sw::Dictionary</a></div><div class="ttdoc">字典类，内部维护了一个指向std::map的智能指针</div><div class="ttdef"><b>Definition</b> Dictionary.h:24</div></div>
<div class="ttc" id="aclasssw_1_1_font_html"><div class="ttname"><a href="classsw_1_1_font.html">sw::Font</a></div><div class="ttdoc">字体类</div><div class="ttdef"><b>Definition</b> Font.h:137</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html"><div class="ttname"><a href="classsw_1_1_wnd_base.html">sw::WndBase</a></div><div class="ttdoc">表示一个Windows窗口，是所有窗口和控件的基类</div><div class="ttdef"><b>Definition</b> WndBase.h:26</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a0126115c0626d137ba3e7b0a5c8d793b"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a0126115c0626d137ba3e7b0a5c8d793b">sw::WndBase::ClientRect</a></div><div class="ttdeci">const ReadOnlyProperty&lt; sw::Rect &gt; ClientRect</div><div class="ttdoc">用户区尺寸</div><div class="ttdef"><b>Definition</b> WndBase.h:133</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a029ba4be0e492f8383f2b5fe22125acb"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a029ba4be0e492f8383f2b5fe22125acb">sw::WndBase::OnPaint</a></div><div class="ttdeci">virtual bool OnPaint()</div><div class="ttdoc">接收到WM_PAINT时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a05caaf7da3138fe9063f7a3e1088f9ac"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a05caaf7da3138fe9063f7a3e1088f9ac">sw::WndBase::SetExtendedStyle</a></div><div class="ttdeci">void SetExtendedStyle(DWORD mask, bool value)</div><div class="ttdoc">打开或关闭指定的扩展样式</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a074171e62cdb3e20f53b9262164852ca"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a074171e62cdb3e20f53b9262164852ca">sw::WndBase::SetExtendedStyle</a></div><div class="ttdeci">void SetExtendedStyle(DWORD style)</div><div class="ttdoc">设置扩展窗口样式</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a0e30c4d0b87c473115e7521c5c95703a"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a0e30c4d0b87c473115e7521c5c95703a">sw::WndBase::OnClose</a></div><div class="ttdeci">virtual bool OnClose()</div><div class="ttdoc">接收到WM_CLOSE时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a118948e07b472d90fce7e9811ea174aa"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a118948e07b472d90fce7e9811ea174aa">sw::WndBase::OnMouseLeftButtonDown</a></div><div class="ttdeci">virtual bool OnMouseLeftButtonDown(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_LBUTTONDOWN时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a143aff6cca9e55608630d1fc320d4666"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a143aff6cca9e55608630d1fc320d4666">sw::WndBase::OnMouseMiddleButtonUp</a></div><div class="ttdeci">virtual bool OnMouseMiddleButtonUp(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_MBUTTONUP时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a1445af2018a8e840a25a7487da22c51b"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a1445af2018a8e840a25a7487da22c51b">sw::WndBase::OnNcHitTest</a></div><div class="ttdeci">virtual void OnNcHitTest(const Point &amp;testPoint, HitTestResult &amp;result)</div><div class="ttdoc">接收到WM_NCHITTEST后调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a17769747f602f2f7c18a0a49ce97a125"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a17769747f602f2f7c18a0a49ce97a125">sw::WndBase::OnMove</a></div><div class="ttdeci">virtual bool OnMove(Point newClientPosition)</div><div class="ttdoc">接收到WM_MOVE时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a191f7c32914b029dca7c93e03b4841e0"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a191f7c32914b029dca7c93e03b4841e0">sw::WndBase::OnNotify</a></div><div class="ttdeci">virtual bool OnNotify(NMHDR *pNMHDR)</div><div class="ttdoc">接收到WM_NOTIFY后调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a1c0d183115a35f097b0598af43c9ca9a"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a1c0d183115a35f097b0598af43c9ca9a">sw::WndBase::Redraw</a></div><div class="ttdeci">void Redraw(bool erase=false)</div><div class="ttdoc">重画</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a292bd97b5820a1b4e7a38d65e2b609e8"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a292bd97b5820a1b4e7a38d65e2b609e8">sw::WndBase::UpdateText</a></div><div class="ttdeci">void UpdateText()</div><div class="ttdoc">更新_text字段</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a292d93c230f5534cdf68ac5d685dd487"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a292d93c230f5534cdf68ac5d685dd487">sw::WndBase::PointToScreen</a></div><div class="ttdeci">Point PointToScreen(const Point &amp;point)</div><div class="ttdoc">获取用户区点在屏幕上点的位置</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a2c436f7819721b3f1a700c39ea538003"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a2c436f7819721b3f1a700c39ea538003">sw::WndBase::OnContextMenu</a></div><div class="ttdeci">virtual bool OnContextMenu(bool isKeyboardMsg, Point mousePosition)</div><div class="ttdoc">接收到WM_CONTEXTMENU后调用目标控件的该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a2d3e7d32b7cdcfd3489c0d890a2910ab"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a2d3e7d32b7cdcfd3489c0d890a2910ab">sw::WndBase::GetExtendedStyle</a></div><div class="ttdeci">bool GetExtendedStyle(DWORD mask)</div><div class="ttdoc">判断窗口是否设有指定扩展样式</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a2eec178adddff9e44d83238f19d57b1b"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a2eec178adddff9e44d83238f19d57b1b">sw::WndBase::GetFontHandle</a></div><div class="ttdeci">HFONT GetFontHandle()</div><div class="ttdoc">获取字体句柄</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a33d23326907c603a24385f81e179e174"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a33d23326907c603a24385f81e179e174">sw::WndBase::SendMessageA</a></div><div class="ttdeci">LRESULT SendMessageA(UINT uMsg, WPARAM wParam, LPARAM lParam)</div><div class="ttdoc">发送消息（ASCII）</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a348d10334d2f74a44f741bf85eddaa2c"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a348d10334d2f74a44f741bf85eddaa2c">sw::WndBase::OnMouseMiddleButtonDown</a></div><div class="ttdeci">virtual bool OnMouseMiddleButtonDown(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_MBUTTONDOWN时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a34a1c2216b75bd9cd45d4a2e042b55c5"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a34a1c2216b75bd9cd45d4a2e042b55c5">sw::WndBase::SetStyle</a></div><div class="ttdeci">void SetStyle(DWORD mask, bool value)</div><div class="ttdoc">打开或关闭指定的样式</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a3e4f8edb05ac0381561f4a105db73a34"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a3e4f8edb05ac0381561f4a105db73a34">sw::WndBase::operator!=</a></div><div class="ttdeci">friend bool operator!=(const WndBase &amp;left, const WndBase &amp;right)</div><div class="ttdoc">重载!=运算符，判断是否为不同引用</div><div class="ttdef"><b>Definition</b> WndBase.h:747</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4030b80afd9e81e3046ccd5ec94ec83f"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4030b80afd9e81e3046ccd5ec94ec83f">sw::WndBase::ClientHeight</a></div><div class="ttdeci">const ReadOnlyProperty&lt; double &gt; ClientHeight</div><div class="ttdoc">用户区高度</div><div class="ttdef"><b>Definition</b> WndBase.h:143</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a436818f8ad91446f86b42081dd1a7358"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a436818f8ad91446f86b42081dd1a7358">sw::WndBase::Close</a></div><div class="ttdeci">void Close()</div><div class="ttdoc">发送关闭消息</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a43b324f78290554d0c08bf6f33cdb5fd"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a43b324f78290554d0c08bf6f33cdb5fd">sw::WndBase::AcceptFiles</a></div><div class="ttdeci">const Property&lt; bool &gt; AcceptFiles</div><div class="ttdoc">是否接受拖放文件</div><div class="ttdef"><b>Definition</b> WndBase.h:178</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a445edbe5db50a5a4486ddff98e8ffbae"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a445edbe5db50a5a4486ddff98e8ffbae">sw::WndBase::Width</a></div><div class="ttdeci">const Property&lt; double &gt; Width</div><div class="ttdoc">宽度</div><div class="ttdef"><b>Definition</b> WndBase.h:123</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a46dafa7371fbef198ee7a38c4aabc632"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a46dafa7371fbef198ee7a38c4aabc632">sw::WndBase::OnSysKeyUp</a></div><div class="ttdeci">virtual bool OnSysKeyUp(VirtualKey key, KeyFlags flags)</div><div class="ttdoc">接收到WM_SYSKEYUP时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4889c45dfad820c103dd7f74f2cd0661"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4889c45dfad820c103dd7f74f2cd0661">sw::WndBase::InitWindow</a></div><div class="ttdeci">void InitWindow(LPCWSTR lpWindowName, DWORD dwStyle, DWORD dwExStyle)</div><div class="ttdoc">初始化为窗口，该函数会调用CreateWindowExW</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4aa14c2130ef0fbb656d28c287e401f5"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4aa14c2130ef0fbb656d28c287e401f5">sw::WndBase::OnMouseMiddleButtonDoubleClick</a></div><div class="ttdeci">virtual bool OnMouseMiddleButtonDoubleClick(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_MBUTTONDBLCLK时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4aad533e3d37a7de43645d703dda1a84"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4aad533e3d37a7de43645d703dda1a84">sw::WndBase::OnNotified</a></div><div class="ttdeci">virtual void OnNotified(NMHDR *pNMHDR)</div><div class="ttdoc">父窗口接收到WM_NOTIFY后调用发出通知控件的该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4b15e8f2bcac32da4d5e540445ae201a"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4b15e8f2bcac32da4d5e540445ae201a">sw::WndBase::OnSetFocus</a></div><div class="ttdeci">virtual bool OnSetFocus(HWND hPrevFocus)</div><div class="ttdoc">接收到WM_SETFOCUS时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4b368860fef40406c091880fc72f9cbb"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4b368860fef40406c091880fc72f9cbb">sw::WndBase::HandleInitialized</a></div><div class="ttdeci">virtual void HandleInitialized(HWND hwnd)</div><div class="ttdoc">窗口句柄初始化完成</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4c72db003eeb8a29565576ad26cc89b8"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4c72db003eeb8a29565576ad26cc89b8">sw::WndBase::OnDeadChar</a></div><div class="ttdeci">virtual bool OnDeadChar(wchar_t ch, KeyFlags flags)</div><div class="ttdoc">接收到WM_DEADCHAR时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4c802a79d332af6e6a6ddcf13005a587"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4c802a79d332af6e6a6ddcf13005a587">sw::WndBase::OnMouseRightButtonDown</a></div><div class="ttdeci">virtual bool OnMouseRightButtonDown(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_RBUTTONDOWN时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4d09cfbc382789150798ff6ad3d9f988"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4d09cfbc382789150798ff6ad3d9f988">sw::WndBase::ParentChanged</a></div><div class="ttdeci">virtual void ParentChanged(WndBase *newParent)</div><div class="ttdoc">父窗口改变时调用此函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a4f0b57de9babc053c655872ed91468dd"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a4f0b57de9babc053c655872ed91468dd">sw::WndBase::Left</a></div><div class="ttdeci">const Property&lt; double &gt; Left</div><div class="ttdoc">左边</div><div class="ttdef"><b>Definition</b> WndBase.h:113</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a50e006e69f07abb4e6ba381121abcd22"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a50e006e69f07abb4e6ba381121abcd22">sw::WndBase::FontWeight</a></div><div class="ttdeci">const Property&lt; sw::FontWeight &gt; FontWeight</div><div class="ttdoc">字体粗细</div><div class="ttdef"><b>Definition</b> WndBase.h:103</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a515de5eb7bc6dbc8314c447a99154c6c"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a515de5eb7bc6dbc8314c447a99154c6c">sw::WndBase::OnSysChar</a></div><div class="ttdeci">virtual bool OnSysChar(wchar_t ch, KeyFlags flags)</div><div class="ttdoc">接收到WM_SYSCHAR时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a51fdc4b943e62bd67ffbff4a6e65de2a"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a51fdc4b943e62bd67ffbff4a6e65de2a">sw::WndBase::Height</a></div><div class="ttdeci">const Property&lt; double &gt; Height</div><div class="ttdoc">高度</div><div class="ttdef"><b>Definition</b> WndBase.h:128</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a529436cd730fc39ad2875728cdfe4a51"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a529436cd730fc39ad2875728cdfe4a51">sw::WndBase::Font</a></div><div class="ttdeci">const Property&lt; sw::Font &gt; Font</div><div class="ttdoc">字体</div><div class="ttdef"><b>Definition</b> WndBase.h:88</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a54aa973b24b4bc4b681ac2c21a50d204"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a54aa973b24b4bc4b681ac2c21a50d204">sw::WndBase::IsDestroyed</a></div><div class="ttdeci">const ReadOnlyProperty&lt; bool &gt; IsDestroyed</div><div class="ttdoc">是否已销毁，当该值为true时不应该继续使用当前对象</div><div class="ttdef"><b>Definition</b> WndBase.h:173</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a585967d861673ea0477f25c1a5c0fb30"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a585967d861673ea0477f25c1a5c0fb30">sw::WndBase::DefaultWndProc</a></div><div class="ttdeci">LRESULT DefaultWndProc(const ProcMsg &amp;refMsg)</div><div class="ttdoc">调用默认的WndProc，对于窗口则调用DefWindowProcW，控件则调用_controlOldWndProc</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a5a8952400bee12db2117fbf76312d373"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a5a8952400bee12db2117fbf76312d373">sw::WndBase::OnMouseLeftButtonDoubleClick</a></div><div class="ttdeci">virtual bool OnMouseLeftButtonDoubleClick(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_LBUTTONDBLCLK时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a5b90855aaaa4556e5ef5fe68e8149669"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a5b90855aaaa4556e5ef5fe68e8149669">sw::WndBase::OnMouseRightButtonDoubleClick</a></div><div class="ttdeci">virtual bool OnMouseRightButtonDoubleClick(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_RBUTTONDBLCLK时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a5fd142cef45421381b2e8b89cac67d86"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a5fd142cef45421381b2e8b89cac67d86">sw::WndBase::SetParent</a></div><div class="ttdeci">virtual bool SetParent(WndBase *parent)</div><div class="ttdoc">设置父窗口</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a60707bc74fd7d0599da1ea014cc37b5d"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a60707bc74fd7d0599da1ea014cc37b5d">sw::WndBase::InitControl</a></div><div class="ttdeci">void InitControl(LPCWSTR lpClassName, LPCWSTR lpWindowName, DWORD dwStyle, DWORD dwExStyle)</div><div class="ttdoc">初始化为控件，该函数会调用CreateWindowExW</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a60e633e3cfea36b186c4a210925e865a"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a60e633e3cfea36b186c4a210925e865a">sw::WndBase::OnCommand</a></div><div class="ttdeci">virtual void OnCommand(int code)</div><div class="ttdoc">当父窗口接收到控件的WM_COMMAND时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a69256166096bb51cde45f101c4e9ae95"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a69256166096bb51cde45f101c4e9ae95">sw::WndBase::OnControlCommand</a></div><div class="ttdeci">virtual void OnControlCommand(WndBase *pControl, int code, int id)</div><div class="ttdoc">当WM_COMMAND接收到控件命令时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a6c99714fa3f313e7535936585f63b9cb"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a6c99714fa3f313e7535936585f63b9cb">sw::WndBase::~WndBase</a></div><div class="ttdeci">virtual ~WndBase()=0</div><div class="ttdoc">析构函数，这里用纯虚函数使该类成为抽象类</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a6dbe3776aeb038659f0a290fbe1dc6d7"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a6dbe3776aeb038659f0a290fbe1dc6d7">sw::WndBase::Top</a></div><div class="ttdeci">const Property&lt; double &gt; Top</div><div class="ttdoc">顶边</div><div class="ttdef"><b>Definition</b> WndBase.h:118</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a6de15bd6a264721f6bfadd40d9fce3b0"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a6de15bd6a264721f6bfadd40d9fce3b0">sw::WndBase::OnKillFocus</a></div><div class="ttdeci">virtual bool OnKillFocus(HWND hNextFocus)</div><div class="ttdoc">接收到WM_KILLFOCUS时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a6e9cac4e02b3a420c42968cbf061fd02"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a6e9cac4e02b3a420c42968cbf061fd02">sw::WndBase::OnDrawItem</a></div><div class="ttdeci">virtual bool OnDrawItem(int id, DRAWITEMSTRUCT *pDrawItem)</div><div class="ttdoc">接收到WM_DRAWITEM时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a6ee668e7a5261f96df0bd69a1fb868d3"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a6ee668e7a5261f96df0bd69a1fb868d3">sw::WndBase::IsVisible</a></div><div class="ttdeci">bool IsVisible()</div><div class="ttdoc">判断当前对象在界面中是否可视，与Visible属性不同的是该函数返回值会受父窗口的影响</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a6f1b33e5930fc14467f65ad89c2c35c3"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a6f1b33e5930fc14467f65ad89c2c35c3">sw::WndBase::PointFromScreen</a></div><div class="ttdeci">Point PointFromScreen(const Point &amp;screenPoint)</div><div class="ttdoc">获取屏幕上点在当前用户区点的位置</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a71498b3ad8ae548fd7f4a531a6b70982"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a71498b3ad8ae548fd7f4a531a6b70982">sw::WndBase::Focused</a></div><div class="ttdeci">const Property&lt; bool &gt; Focused</div><div class="ttdoc">窗口是否拥有焦点</div><div class="ttdef"><b>Definition</b> WndBase.h:163</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a72a4024b2096ecef4248b1c254b674e2"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a72a4024b2096ecef4248b1c254b674e2">sw::WndBase::OnVerticalScroll</a></div><div class="ttdeci">virtual bool OnVerticalScroll(int event, int pos)</div><div class="ttdoc">接收到WM_VSCROLL时调用目标控件的该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a72a604f374bba1e6c34b5d5e56cd26f0"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a72a604f374bba1e6c34b5d5e56cd26f0">sw::WndBase::FontName</a></div><div class="ttdeci">const Property&lt; std::wstring &gt; FontName</div><div class="ttdoc">字体名称</div><div class="ttdef"><b>Definition</b> WndBase.h:93</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a748fda35e75d416077598f243afe9da1"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a748fda35e75d416077598f243afe9da1">sw::WndBase::OnEraseBackground</a></div><div class="ttdeci">virtual bool OnEraseBackground(int &amp;result)</div><div class="ttdoc">接收到WM_ERASEBKGND时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a755bd826227232fd30ba5fda47bfb060"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a755bd826227232fd30ba5fda47bfb060">sw::WndBase::OnEnabledChanged</a></div><div class="ttdeci">virtual bool OnEnabledChanged(bool newValue)</div><div class="ttdoc">接收到WM_ENABLE时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a7598603457217f09aae0deaad59ef063"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a7598603457217f09aae0deaad59ef063">sw::WndBase::Rect</a></div><div class="ttdeci">const Property&lt; sw::Rect &gt; Rect</div><div class="ttdoc">位置和尺寸</div><div class="ttdef"><b>Definition</b> WndBase.h:108</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a7bda583e7535a89b8b5bd327c1f32ccd"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a7bda583e7535a89b8b5bd327c1f32ccd">sw::WndBase::Parent</a></div><div class="ttdeci">const ReadOnlyProperty&lt; WndBase * &gt; Parent</div><div class="ttdoc">父窗口</div><div class="ttdef"><b>Definition</b> WndBase.h:168</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a7dd30ab5e8700832140c329739b4b671"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a7dd30ab5e8700832140c329739b4b671">sw::WndBase::OnCreate</a></div><div class="ttdeci">virtual bool OnCreate()</div><div class="ttdoc">接收到WM_CREATE时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a808f5d6fd407e3b65cff88f1873bd754"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a808f5d6fd407e3b65cff88f1873bd754">sw::WndBase::Visible</a></div><div class="ttdeci">const Property&lt; bool &gt; Visible</div><div class="ttdoc">窗口或控件是否可见</div><div class="ttdef"><b>Definition</b> WndBase.h:153</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a863b26226e16cf37f7169c6edc96a3b4"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a863b26226e16cf37f7169c6edc96a3b4">sw::WndBase::WndProc</a></div><div class="ttdeci">virtual LRESULT WndProc(const ProcMsg &amp;refMsg)</div><div class="ttdoc">对WndProc的封装</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a87c9d860ba24487f2b61b72987a4bd63"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a87c9d860ba24487f2b61b72987a4bd63">sw::WndBase::NcHitTest</a></div><div class="ttdeci">HitTestResult NcHitTest(const Point &amp;testPoint)</div><div class="ttdoc">测试指定点在窗口的哪一部分</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a888df1f6b89e8da1ba8c7cc8f4671370"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a888df1f6b89e8da1ba8c7cc8f4671370">sw::WndBase::GetText</a></div><div class="ttdeci">virtual std::wstring &amp; GetText()</div><div class="ttdoc">获取窗口文本</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a91165e81b129c626cabcc7b3d8a5dc43"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a91165e81b129c626cabcc7b3d8a5dc43">sw::WndBase::operator==</a></div><div class="ttdeci">friend bool operator==(const WndBase &amp;left, const WndBase &amp;right)</div><div class="ttdoc">重载==运算符，判断是否为同一个引用</div><div class="ttdef"><b>Definition</b> WndBase.h:739</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a935f2bb51b99929ac5166ad52396971a"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a935f2bb51b99929ac5166ad52396971a">sw::WndBase::OnAcceleratorCommand</a></div><div class="ttdeci">virtual void OnAcceleratorCommand(int id)</div><div class="ttdoc">当WM_COMMAND接收到快捷键命令时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a975bcf1d7c27e7d482aa18f7faaf23d0"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a975bcf1d7c27e7d482aa18f7faaf23d0">sw::WndBase::GetStyle</a></div><div class="ttdeci">DWORD GetStyle()</div><div class="ttdoc">获取窗口样式</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a97898f967c916e67c152c69f4c7c6cd6"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a97898f967c916e67c152c69f4c7c6cd6">sw::WndBase::ClientWidth</a></div><div class="ttdeci">const ReadOnlyProperty&lt; double &gt; ClientWidth</div><div class="ttdoc">用户区宽度</div><div class="ttdef"><b>Definition</b> WndBase.h:138</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a98d960679d1889998ba548af6a3c8fc4"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a98d960679d1889998ba548af6a3c8fc4">sw::WndBase::OnDestroy</a></div><div class="ttdeci">virtual bool OnDestroy()</div><div class="ttdoc">接收到WM_DESTROY时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a9a3b21d4e5d8c49130deb57695294add"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a9a3b21d4e5d8c49130deb57695294add">sw::WndBase::GetWndBase</a></div><div class="ttdeci">static WndBase * GetWndBase(HWND hwnd)</div><div class="ttdoc">通过窗口句柄获取WndBase</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a9afff86d32e9b54cccc204ef29a85891"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a9afff86d32e9b54cccc204ef29a85891">sw::WndBase::Text</a></div><div class="ttdeci">const Property&lt; std::wstring &gt; Text</div><div class="ttdoc">窗口标题或控件文本</div><div class="ttdef"><b>Definition</b> WndBase.h:158</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_a9e95c73d7ac95cf80a1f49a970703b0b"><div class="ttname"><a href="classsw_1_1_wnd_base.html#a9e95c73d7ac95cf80a1f49a970703b0b">sw::WndBase::OnDropFiles</a></div><div class="ttdeci">virtual bool OnDropFiles(HDROP hDrop)</div><div class="ttdoc">接收到WM_DROPFILES时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aa04cd83e79c42d21127799e573d9f299"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aa04cd83e79c42d21127799e573d9f299">sw::WndBase::OnCtlColor</a></div><div class="ttdeci">virtual bool OnCtlColor(WndBase *pControl, HDC hdc, HBRUSH &amp;hRetBrush)</div><div class="ttdoc">接收到WM_CTLCOLORxxx时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aa605b4a21b4cd8c43c226349665a5f28"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aa605b4a21b4cd8c43c226349665a5f28">sw::WndBase::OnColor</a></div><div class="ttdeci">virtual bool OnColor(HDC hdc, HBRUSH &amp;hRetBrush)</div><div class="ttdoc">父窗口接收到WM_CTLCOLORxxx时调用对应控件的该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aab509b68c9c0b612862cf41d8ef685a3"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aab509b68c9c0b612862cf41d8ef685a3">sw::WndBase::WndBase</a></div><div class="ttdeci">WndBase()</div><div class="ttdoc">初始化WndBase</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aaba3c3ea0a8d12be237ef28e44018677"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aaba3c3ea0a8d12be237ef28e44018677">sw::WndBase::OnSize</a></div><div class="ttdeci">virtual bool OnSize(Size newClientSize)</div><div class="ttdoc">接收到WM_SIZE时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aaf334072263bea6dddf93a7601979023"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aaf334072263bea6dddf93a7601979023">sw::WndBase::OnMouseLeave</a></div><div class="ttdeci">virtual bool OnMouseLeave()</div><div class="ttdoc">接收到WM_MOUSELEAVE时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ab37c3f3ea7654eb6a0b15405196c4549"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ab37c3f3ea7654eb6a0b15405196c4549">sw::WndBase::OnSetCursor</a></div><div class="ttdeci">virtual bool OnSetCursor(HWND hwnd, HitTestResult hitTest, int message, bool &amp;result)</div><div class="ttdoc">接收到WM_SETCURSOR消息时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ab7ac81f0ed48a5093fd3170c7c756963"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ab7ac81f0ed48a5093fd3170c7c756963">sw::WndBase::Update</a></div><div class="ttdeci">void Update()</div><div class="ttdoc">该函数调用UpdateWindow</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aba0ab3734c3d4c07f3b9bbb029b98edb"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aba0ab3734c3d4c07f3b9bbb029b98edb">sw::WndBase::SetText</a></div><div class="ttdeci">virtual void SetText(const std::wstring &amp;value)</div><div class="ttdoc">调用SetWindowTextW设置窗口文本</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_abc0b653ccc071c2cfcba42fa8eef738f"><div class="ttname"><a href="classsw_1_1_wnd_base.html#abc0b653ccc071c2cfcba42fa8eef738f">sw::WndBase::Handle</a></div><div class="ttdeci">const ReadOnlyProperty&lt; HWND &gt; Handle</div><div class="ttdoc">窗口句柄</div><div class="ttdef"><b>Definition</b> WndBase.h:83</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ac34494921eed0f67a053a9393d78bcf9"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ac34494921eed0f67a053a9393d78bcf9">sw::WndBase::FontChanged</a></div><div class="ttdeci">virtual void FontChanged(HFONT hfont)</div><div class="ttdoc">字体改变时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ac49c6452ceb4950dd581189615753b0c"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ac49c6452ceb4950dd581189615753b0c">sw::WndBase::FontSize</a></div><div class="ttdeci">const Property&lt; double &gt; FontSize</div><div class="ttdoc">字体大小</div><div class="ttdef"><b>Definition</b> WndBase.h:98</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ace8f6b05caa5d335f7d574c38035bfa7"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ace8f6b05caa5d335f7d574c38035bfa7">sw::WndBase::IsControl</a></div><div class="ttdeci">bool IsControl()</div><div class="ttdoc">判断当前对象是否是控件</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_acf4e6c0bbc8fddc9e790864e403c5c91"><div class="ttname"><a href="classsw_1_1_wnd_base.html#acf4e6c0bbc8fddc9e790864e403c5c91">sw::WndBase::OnSysDeadChar</a></div><div class="ttdeci">virtual bool OnSysDeadChar(wchar_t ch, KeyFlags flags)</div><div class="ttdoc">接收到WM_SYSDEADCHAR时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ad0f719a2feffe354737cef9b13b63db0"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ad0f719a2feffe354737cef9b13b63db0">sw::WndBase::OnChar</a></div><div class="ttdeci">virtual bool OnChar(wchar_t ch, KeyFlags flags)</div><div class="ttdoc">接收到WM_CHAR时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ad188b201bbbc650c4ad9c388dbac18b4"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ad188b201bbbc650c4ad9c388dbac18b4">sw::WndBase::OnMouseMove</a></div><div class="ttdeci">virtual bool OnMouseMove(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_MOUSEMOVE时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ad50166a8ade9a7eaf0088f13fd708e2f"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ad50166a8ade9a7eaf0088f13fd708e2f">sw::WndBase::SendMessageW</a></div><div class="ttdeci">LRESULT SendMessageW(UINT uMsg, WPARAM wParam, LPARAM lParam)</div><div class="ttdoc">发送消息（UNICODE）</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ad5e7d8d1a548315b3e709151f71766b3"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ad5e7d8d1a548315b3e709151f71766b3">sw::WndBase::Enabled</a></div><div class="ttdeci">const Property&lt; bool &gt; Enabled</div><div class="ttdoc">窗口或控件是否可用</div><div class="ttdef"><b>Definition</b> WndBase.h:148</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ad63e584926b894913ee1ef4c039a2f98"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ad63e584926b894913ee1ef4c039a2f98">sw::WndBase::OnSysKeyDown</a></div><div class="ttdeci">virtual bool OnSysKeyDown(VirtualKey key, KeyFlags flags)</div><div class="ttdoc">接收到WM_SYSKEYDOWN时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ad82a0ab5f0622abaf30456e7e309409e"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ad82a0ab5f0622abaf30456e7e309409e">sw::WndBase::OnMouseLeftButtonUp</a></div><div class="ttdeci">virtual bool OnMouseLeftButtonUp(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_LBUTTONUP时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ad90b0eebbaa959949cae5b736e2104aa"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ad90b0eebbaa959949cae5b736e2104aa">sw::WndBase::OnEndPaint</a></div><div class="ttdeci">virtual void OnEndPaint()</div><div class="ttdoc">在OnPaint函数完成之后调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_adb808283f6ccd5a32834ad25fa2f407b"><div class="ttname"><a href="classsw_1_1_wnd_base.html#adb808283f6ccd5a32834ad25fa2f407b">sw::WndBase::OnTextChanged</a></div><div class="ttdeci">virtual void OnTextChanged()</div><div class="ttdoc">Text属性更改时调用此函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_adcf94f9017f5589b3027955e48c34b62"><div class="ttname"><a href="classsw_1_1_wnd_base.html#adcf94f9017f5589b3027955e48c34b62">sw::WndBase::OnMouseWheel</a></div><div class="ttdeci">virtual bool OnMouseWheel(int wheelDelta, Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_MOUSEWHEEL时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ae2f1b78dd8165c8bca0313180a9f4b81"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ae2f1b78dd8165c8bca0313180a9f4b81">sw::WndBase::Show</a></div><div class="ttdeci">void Show(int nCmdShow)</div><div class="ttdoc">该函数调用ShowWindow</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_ae545de230ba94e3263f3197e98308079"><div class="ttname"><a href="classsw_1_1_wnd_base.html#ae545de230ba94e3263f3197e98308079">sw::WndBase::GetStyle</a></div><div class="ttdeci">bool GetStyle(DWORD mask)</div><div class="ttdoc">判断窗口是否设有指定样式</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aea1d61cd6e108834e498009926ff3ebd"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aea1d61cd6e108834e498009926ff3ebd">sw::WndBase::OnKeyDown</a></div><div class="ttdeci">virtual bool OnKeyDown(VirtualKey key, KeyFlags flags)</div><div class="ttdoc">接收到WM_KEYDOWN时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aeb7286fd72b6d49b6d0b22d8cde07941"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aeb7286fd72b6d49b6d0b22d8cde07941">sw::WndBase::OnMouseRightButtonUp</a></div><div class="ttdeci">virtual bool OnMouseRightButtonUp(Point mousePosition, MouseKey keyState)</div><div class="ttdoc">接收到WM_RBUTTONUP时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_aef02bbac8ef450e5f3f478b41031a3ab"><div class="ttname"><a href="classsw_1_1_wnd_base.html#aef02bbac8ef450e5f3f478b41031a3ab">sw::WndBase::VisibleChanged</a></div><div class="ttdeci">virtual void VisibleChanged(bool newVisible)</div><div class="ttdoc">Visible属性改变时调用此函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_af4e6b89a39f12d2fbdf987d79c05b190"><div class="ttname"><a href="classsw_1_1_wnd_base.html#af4e6b89a39f12d2fbdf987d79c05b190">sw::WndBase::OnKeyUp</a></div><div class="ttdeci">virtual bool OnKeyUp(VirtualKey key, KeyFlags flags)</div><div class="ttdoc">接收到WM_KEYUP时调用该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_af536e23ad45de7e0d0a48c156671e331"><div class="ttname"><a href="classsw_1_1_wnd_base.html#af536e23ad45de7e0d0a48c156671e331">sw::WndBase::GetExtendedStyle</a></div><div class="ttdeci">DWORD GetExtendedStyle()</div><div class="ttdoc">获取扩展窗口样式</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_af6773148b0a9a1fdd3c8a0d8cd54a2fd"><div class="ttname"><a href="classsw_1_1_wnd_base.html#af6773148b0a9a1fdd3c8a0d8cd54a2fd">sw::WndBase::OnHorizontalScroll</a></div><div class="ttdeci">virtual bool OnHorizontalScroll(int event, int pos)</div><div class="ttdoc">接收到WM_HSCROLL时调用目标控件的该函数</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_af8df0384e2be0569e0da1f51985204c8"><div class="ttname"><a href="classsw_1_1_wnd_base.html#af8df0384e2be0569e0da1f51985204c8">sw::WndBase::UpdateFont</a></div><div class="ttdeci">void UpdateFont()</div><div class="ttdoc">更新字体</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_afc6dbe392704320ef2e6896eff55dd4f"><div class="ttname"><a href="classsw_1_1_wnd_base.html#afc6dbe392704320ef2e6896eff55dd4f">sw::WndBase::SetStyle</a></div><div class="ttdeci">void SetStyle(DWORD style)</div><div class="ttdoc">设置窗口样式</div></div>
<div class="ttc" id="aclasssw_1_1_wnd_base_html_afffc1d57f289f965bc50d8150c4586e1"><div class="ttname"><a href="classsw_1_1_wnd_base.html#afffc1d57f289f965bc50d8150c4586e1">sw::WndBase::OnMenuCommand</a></div><div class="ttdeci">virtual void OnMenuCommand(int id)</div><div class="ttdoc">当WM_COMMAND接收到菜单命令时调用该函数</div></div>
<div class="ttc" id="astructsw_1_1_key_flags_html"><div class="ttname"><a href="structsw_1_1_key_flags.html">sw::KeyFlags</a></div><div class="ttdoc">https://learn.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input#keystroke-message-flags</div><div class="ttdef"><b>Definition</b> Keys.h:11</div></div>
<div class="ttc" id="astructsw_1_1_point_html"><div class="ttname"><a href="structsw_1_1_point.html">sw::Point</a></div><div class="ttdoc">表示相对于左上角的点坐标</div><div class="ttdef"><b>Definition</b> Point.h:11</div></div>
<div class="ttc" id="astructsw_1_1_proc_msg_html"><div class="ttname"><a href="structsw_1_1_proc_msg.html">sw::ProcMsg</a></div><div class="ttdoc">对Windows窗口消息的封装</div><div class="ttdef"><b>Definition</b> ProcMsg.h:10</div></div>
<div class="ttc" id="astructsw_1_1_rect_html"><div class="ttname"><a href="structsw_1_1_rect.html">sw::Rect</a></div><div class="ttdoc">表示一个矩形区域</div><div class="ttdef"><b>Definition</b> Rect.h:13</div></div>
<div class="ttc" id="astructsw_1_1_size_html"><div class="ttname"><a href="structsw_1_1_size.html">sw::Size</a></div><div class="ttdoc">尺寸</div><div class="ttdef"><b>Definition</b> Size.h:11</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_01fcd3835fb4e7d9331b722d86291b65.html">sw</a></li><li class="navelem"><a class="el" href="dir_ed5f6ece24ffcc4307a76d27c2494db3.html">inc</a></li><li class="navelem"><b>WndBase.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
